The Moldable Debugger: A Framework for Developing Domain-Specific Debuggers
نویسندگان
چکیده
Debuggers are crucial tools for developing object-oriented software systems as they give developers direct access to the running systems. Nevertheless, traditional debuggers rely on generic mechanisms to explore and exhibit the execution stack and system state, while developers reason about and formulate domain-specific questions using concepts and abstractions from their application domains. This creates an abstraction gap between the debugging needs and the debugging support leading to an inefficient and error-prone debugging effort. To reduce this gap, we propose a framework for developing domain-specific debuggers called the Moldable Debugger. The Moldable Debugger is adapted to a domain by creating and combining domain-specific debugging operations with domain-specific debugging views, and adapts itself to a domain by selecting, at run time, appropriate debugging operations and views. We motivate the need for domain-specific debugging, identify a set of key requirements and show how our approach improves debugging by adapting the debugger to several domains.
منابع مشابه
Practical domain-specific debuggers using the Moldable Debugger framework
Understanding the run-time behaviour of software systems can be a challenging activity. Debuggers are an essential category of tools used for this purpose as they give developers direct access to the running systems. Nevertheless, traditional debuggers rely on generic mechanisms to introspect and interact with the running systems, while developers reason about and formulate domain-specific ques...
متن کاملMoldable Debugging
Programming languages evolved towards letting developers design software applications in terms of domain abstractions. What about development tools? While developers express software using programming languages, they craft software exclusively by interacting with development tools. Unfortunately, all too often developers rely on rigid development tools, focused on programming language construct...
متن کاملDemonstration of a Domain-Specific Language Debugging Framework
This demonstration presents a debugging framework that targets domain-specific languages (DSLs). The DSL Debugging Framework (DDF) generates debuggers automatically from DSL grammar specifications. The debugging concern is weaved into a base grammar in an aspect-oriented style. DDF was used to generate debuggers for three different types of DSLs (imperative, declarative, and hybrid) that are tr...
متن کاملRapidly Prototyping Implementation Infrastructure of Domain
Domain Specific Languages (DSLs) are high level languages designed for solving problems in a particular domain, and have been suggested as means for developing reliable software systems. However, designing of a domain specific language is a difficult task. The design of a domain specific language will evolve as it is used more and more and experienced is gained by its designers. Being able to r...
متن کاملA Software Architecture for Mixed-Language Debuggers
Source-level debuggers improve productivity by helping developers control and inspect program execution. Although many programs use multiple languages, building mixed-language debuggers remains a challenge and debugging mixed-language programs is at best painful. This paper introduces Lamp, a software architecture for building mixed-language debuggers. Lamp defines a debugger agent and a unifor...
متن کامل